package com.pro.staffmanage.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

/**
 * @Author: Haotian Cui
 * @Date: 2022/7/22 - 07 - 22 - 15:28
 * @Description: com.pro.staffmanage.pojo
 * @Project: staffmanage
 * @version: 1.0
 *
 *      * POJO -- Department
 *      *
 *      * id -- 部门号
 *      * 主键, 确定部门
 *      *
 *      * departmentName -- 部门名
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Department {
    /**
     * id -- Department number
     * primary key, identifying the department
     *
     * departmentName -- Department name
     *
     */
    private Integer id;
    private String name;

}
